package com.mcxx.modules.miniSalvation.family.dao.write;

import com.mcxx.modules.miniSalvation.family.dto.BankDTO;
import com.mcxx.modules.miniSalvation.family.entity.BankEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BankWriteDao {


    int insertIgnoreNull(BankEntity bankEntity);

    int updateIgnoreNull(BankEntity bankEntity);

    int updateBankInfo(BankEntity bankEntity);

    int insertBankInfo(BankEntity bankEntity);


    int updateByFamily(BankEntity bankEntity);


    int addBankCopy(BankEntity bankEntity);


    int insetBankList(List<BankEntity> baEntityList);


    int updateByOrderId(BankDTO bankDTO);


    int deleteBankInfo(String id);

    int resetBankAccountByFamilyId(String familyId,String memberId);

    int updateBankPhone(BankEntity bankEntity);
}
